package com.xxx.demo.data;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@Slf4j
@SpringBootApplication
@EnableAutoConfiguration
@EnableScheduling
@EnableSwagger2
@EnableSwaggerBootstrapUI
@ComponentScan({"com.github.butid.data", "com.xxx.demo.data","com.github.qinxuewu.core"})
public class ServerDemoApplication {

  public static void main(String[] args) {

    ConfigurableApplicationContext application = SpringApplication.run(ServerDemoApplication.class, args);
  }

}